Skip to content

Conversation

@sinisaos
Copy link
Member

Fixing a small mistake around encryption key generation in docs. XChaCha20Provider.generate_key() raise AttributeError: type object 'XChaCha20Provider' has no attribute 'generate_key' (because generate_key is Fernet method). I think it should be https://github.com/piccolo-orm/piccolo_api/blob/bc7eefa9d63b018cf45853798acbfd0be0978754/piccolo_api/encryption/providers.py#L179

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.02%. Comparing base (1157c12) to head (4f08f1f).
Report is 29 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #428      +/-   ##
==========================================
+ Coverage   93.42%   94.02%   +0.60%     
==========================================
  Files           5        5              
  Lines         365      402      +37     
==========================================
+ Hits          341      378      +37     
  Misses         24       24              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dantownsend
Copy link
Member

@sinisaos Good catch, thanks!

@dantownsend dantownsend merged commit 2f923aa into piccolo-orm:master Nov 15, 2024
11 checks passed
@sinisaos sinisaos deleted the fix_method_in_docs branch November 15, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants